<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<script src="../js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init()
		</script>
	</head>

	<body style="background: #FFFFFF;">
		<label>checkbox（复选框）</label>
		<div class="mui-content">

			<form class="mui-input-group">
				<div class="mui-input-row mui-checkbox mui-left">
					<label>checked：false</label>
					<input name="checkbox" value="Item 1" type="checkbox">
				</div>
				<div class="mui-input-row mui-checkbox mui-left">
					<label>checked：true</label>
					<input name="checkbox" value="Item 2" type="checkbox" checked>
				</div>
				<div class="mui-input-row mui-checkbox mui-left mui-disabled">
					<label>disabled checkbox</label>
					<input name="checkbox" type="checkbox" disabled="disabled">
				</div>
			</form>
		</div>
	</body>

	<script>
		mui('.mui-input-group').on('change', 'input', function() {
			var value = this.checked ? "true" : "false";
			this.previousElementSibling.innerText = "checked：" + value;
		});
	</script>

</html>